//
//  searchCollectionViewCell.m
//  INAlienLand
//
//  Created by dllo on 15/7/2.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "searchCollectionViewCell.h"

@implementation searchCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self=[super initWithFrame:frame];
    if (self) {
        self.nameLable = [[UILabel    alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
        [self.contentView addSubview:self.nameLable];
        self.contentView.backgroundColor = [UIColor colorWithRed:250/255.00 green:248/255.00 blue:233/255.00 alpha:1.000];
        self.nameLable.textAlignment = NSTextAlignmentCenter;
        self.nameLable.layer.cornerRadius = 15;
        self.nameLable.layer.borderWidth = 1;
        self.nameLable.layer.masksToBounds = YES;
    }
    return self;
}
@end
